<template>
  <div class="pc-layout">
    <!-- head部分 -->
    <pc-head :notHome="notHome"></pc-head>
    <!-- 主体部分 -->
    <div class="content">
      <slot></slot>
    </div>
    <!-- footer部分 -->
    <pc-footer></pc-footer>
  </div>
</template>
<script>
import PcHead from "../../components/computer/Head";
import PcFooter from "../../components/computer/Footer";
export default {
  components: {
    PcHead,
    PcFooter
  },
  computed: {
    notHome() {
      return this.$route.path !== "/home";
    }
  }
};
</script>


<style lang="scss" scoped>
.pc-layout {
  .content {
    min-height: calc(100vh - 120px);
    min-width: 1250px;
    background: $blue_bg;
  }
}
</style>

